package com.network.retrofit.net.http;

/**
 * 项目: com.network.retrofit.net.http
 * 创建人: LuoFG
 * 创建时间: 2021/6/30  13:36
 * 描述:
 */
public class ResponseThrowable extends Exception {
    public int code;
    public String message;
    public String responseUrlContent;

    public ResponseThrowable(Throwable throwable, int code) {
        super(throwable);
        this.code = code;
    }

    public ResponseThrowable(String message, int code) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getResponseUrlContent() {
        return responseUrlContent;
    }

    public void setResponseUrlContent(String responseUrlContent) {
        this.responseUrlContent = responseUrlContent;
    }
}